/*
 * IAlgorithm.h
 *
 *  Created on: 09-06-2013
 *      Author: Krzychu
 */

#ifndef IALGORITHM_H_
#define IALGORITHM_H_

#include <string>
#include "SearchResult.h"

class IAlgorithm
{
public:
	virtual ~IAlgorithm()
	{
		delete this;
	}
	virtual searchResult execute(std::string text, std::string pattern) = 0;
	virtual std::string getName() = 0;
};

#endif /* IALGORITHM_H_ */
